<?php
class MenuComponent extends Object
{
	var $components = array('Param');

	function getMenu($controller = null, $action = null) {
		if ($controller == 'content' && $action == 'about') {
			$_menu = array(0,0,1,0,0,0);
		}
		else if ($controller == 'product') {
			$_menu = array(0,1,0,0,0,0);
		}
		else if ($controller == 'article' && $action == 'promotion') {
			$_menu = array(0,0,0,1,0,0);
		}
		else if ($controller == 'order') {
			$_menu = array(0,0,0,0,1,0);
		}
		else if ($controller == 'contact') {
			$_menu = array(0,0,0,0,0,1);
		}
		else {
			$_menu = array(1,0,0,0,0,0);
		}
		return $_menu;
	}

}
?>